#pragma once
#include "Vector3.h"

class SellPos
{
private:
	Vector3l _pos;
	bool _isLimit;

	static SellPos _MAX_POS;
public:

	SellPos(long x, long y);
	SellPos(Vector3l v);
	~SellPos(void);

	static void setMaxPos(long x, long y);
	static SellPos getMaxPos(){return _MAX_POS;}
	static long getMaxX(){return _MAX_POS._pos.x;}
	static long getMaxY(){return _MAX_POS._pos.y;}

	long getX(){return _pos.x;}
	long getY(){return _pos.y;}
	void add(SellPos sp);
	bool isLimit(){return _isLimit;}

	bool operator==(SellPos sp);
};

